package com.qingcloud.adminbackend.pojo.dto.sysproduct;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 *  指令分类更新请求DTO
 * </p>
 *
 * @author yangfan
 * @date 2021-11-09
 */
@Data
public class UpdateSysProductCommandClassifyDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @NotNull(message = "主键id不能为空")
    private Integer id;
    /**
     * 产品型号id
     */
    @ApiModelProperty(value = "产品型号id")
    @NotNull(message = "产品型号id不能为空")
    private Integer productTypeId;
    /**
     * 指令分类名称
     */
    @ApiModelProperty(value = "指令分类名称")
    @NotBlank(message = "指令分类名称不能为空")
    private String classifyName;

}
